package com.haier.uos.weather.collection.client;

import com.haier.uos.weather.collection.vo.City;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

import java.util.List;

@FeignClient("weather-zuul")
public interface ApiClient {
    @GetMapping("/city/city/all")
    List<City> getAllCity();
}
